package business.datacenter.impl;

import business.datacenter.HZCreditPunishinfoService;
import datacenter.domain.HZCreditPunishinfo;
import datacenter.mapper.HZCreditPunishinfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "creditPunishinfoService")
public class HZCreditPunishinfoServiceImpl implements HZCreditPunishinfoService{
    @Autowired
    HZCreditPunishinfoMapper hzCreditPunishinfoMapper;
    @Override
    public void saveHZCreditPunishinfo(List<HZCreditPunishinfo> entities) {
        for(HZCreditPunishinfo entity:entities) {
            hzCreditPunishinfoMapper.insertSelective(entity);
        }
    }
}
